export default defineNuxtPlugin(nuxtApp => {
  // process.server === false &&
  if (process.env.NODE_ENV === 'production') {
    var hm = document.createElement("script");
    hm.src = "https://hm.baidu.com/hm.js?50a5ee9836efdb556dc21ba0260a1676";
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(hm, s);
  }
})
